package com.tms.springboot.mapper;

import com.tms.springboot.aggregation.pojo.PdOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tms.springboot.vo.PdOrderCityVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author cjj
 * @since 2023-06-14
 */
@Mapper
public interface PdOrderMapper extends BaseMapper<PdOrder> {

    List<Map<String,Integer>> queryEverydayOrderNumber(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<PdOrderCityVo> querystatus(@Param("id") String id, @Param("status") Integer status,@Param("orderid")String orderid);
}
